package com.kim.user.web.service;

import com.kim.user.common.entity.SysRole;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Mr.Yangxiufeng
 * Date: 2018-05-10
 * Time: 20:26
 */
public interface RoleService {

    List<SysRole> getRoleByUserId(Integer userId);

    int insertRole(SysRole sysRole);

    SysRole findByRolename(String rolename);
}
